<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/reset.css">
    <style>
        .container{
            width: 100vw;
            height: 100vh;
        }
        .login{
            width: 320px;
            height: 300px;
            box-shadow: 0px 0px 5px 1px rgba(0, 0, 0,0.3);
            background-color: white;
            padding: 25px;
            border-radius: 4px;
            position:fixed;
            top: 125px;
            left: 50%;
            transform: translate(-50%);
        }
        .login > form{
            display: flex;
            flex-direction: column;
        }
        .login > form .item{
            margin-bottom: 20px;
        }
        .title{
            text-align: center;
            margin-bottom: 25px;
        }
        .item span{
            font-size: 12px;
        }
        .item input{
            margin-left: 15px;
        }
        .btn{
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="login">
            <h1 class="title">用户登录</h1>
            <form>
                <div class="item">
                    <span>账号:</span>
                    <input type="text" class="username" placeholder="请输入账号/用户名">
                </div>
                <div class="item">
                    <span>密码:</span>
                    <input type="text" class="password" placeholder="请输入密码">
                </div>
                <div class="btn">
                    <button class="btn-primary">登录</button>
                    <button class="btn-danger">注册</button>
                </div>
                
            </form>
        </div>
    </div>
</body>
</html>